//
//  HRZMyCenterHeaderView.m
//  EMarket
//
//  Created by 石头 on 2018/5/16.
//  Copyright © 2018年 好日子. All rights reserved.
//

#import "HRZMyCenterHeaderView.h"
#import "HRZSpeedy.h"
#import "UIView+SPExtension.h"

@interface HRZMyCenterHeaderView()

@property (weak, nonatomic) IBOutlet UIButton *seeMyPriceButton;


@end

@implementation HRZMyCenterHeaderView
#pragma mark - initialize
- (void)awakeFromNib {
    [super awakeFromNib];
    
    //圆角
    [HRZSpeedy hrz_chageControlCircularWith:_myIconButton AndSetCornerRadius:_myIconButton.sp_width * 0.5 SetBorderWidth:1 SetBorderColor:[UIColor whiteColor] canMasksToBounds:YES];
    _seeMyPriceButton.backgroundColor = RGB(252, 246, 213);
    [HRZSpeedy hrz_chageControlCircularWith:_seeMyPriceButton AndSetCornerRadius:10 SetBorderWidth:1 SetBorderColor:_seeMyPriceButton.backgroundColor canMasksToBounds:YES];
    
}

#pragma mark - 头像点击
- (IBAction)headButtonClick {
    !_headClickBlock ? : _headClickBlock();
}

- (IBAction)setButtonClick:(id)sender {
    !_setClickBlock ? : _setClickBlock();
}

@end
